
<!-- ======================================== content ======================================== -->
        <div class="right_cont row  border-bottom white-bg kaifa_step3 none">
            <!--列表二-->
            <div class="list_two">
                <div class="list_t up_none kai_border"><em>${_res["project.projectTitle"]}</em></div>
                <div class="kai_sc">
                    <div class="kai_sct">
                        <img src="${cxt!}/img/images/shu3.jpg" alt="${_res['project.document.imgTip']}">
                        <p>${_res["project.basic"]}</p>
                        <p>${_res["project.sale"]}</p>
                        <p class="hover">${_res["project.document"]}</p>
                    </div>
                    <div class="overE">
                    	
                        <!--内容块3 其他信息-->
                        <div class="kai_ss kai_sq" style="margin-left: 10px;">
                            <!--5-->
                            <div class="kai_s">
                            	<label style="margin-right:15px;margin-top: 9px;">${_res["developer.projectVideo"]}:</label>
								<input type="hidden" name="attachmentId" value="${projectAttachment.id!}">                            	
                            	<input type="text" name="attachmentVedio" style="width:445px;margin-left: 0px;margin-top: 5px;" value="${projectAttachment.filepath!}"/>
                            </div>
                            <div class="kai_s">
                                <label style="margin-top: 6px;">${_res["project.document.ProjectFiles"]}:</label>
                                <#dict type="select" empty="false" id="fileType" class="kai_se" name="fileType" dictCode="PROJECT_UPLOAD_TYPE" />
                                <div class="floatE up_ca"><a href="javascript:;" class="up_a" id="uploadproimgfile" onclick="uploadImge(this);" style="width: 134px;">${_res["project.document.UploadFile"]}</a></div>
                            	<input type="file" id="fileuploadproimgfile" style="opacity:0;" name="contentUrl">
                            </div>
                            
                            <div class="up_u" id="uploadproimgfiles">
                                <%
                                if(!isEmpty(project.projectAttachments!)){
                                 for(var i = 0;i <project.projectAttachments.~size;i++){
                                   var attachment = project.projectAttachments[i];
                                   if(attachment.filetype != '2'){
                                %>
                                  <div class="up_i" >
                                   	<input type="hidden" name="uploadFile${i!}.filetype" value="${attachment.filetype!}">
                                   	<input type="hidden" name="uploadFile${i!}.doctype" value="${attachment.doctypee!}">
                                   	<input type="hidden" name="uploadFile${i!}.filename" value="${attachment.filename!}">
                                   	<input type="hidden" name="uploadFile${i!}.filepath" value="${attachment.filepath!}">
                                	<span style="white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"><#icon filename="${attachment.filename!}" />&nbsp;&nbsp;${attachment.filename!}</span>
                                	<span style="width:17em;"><#dict type="lable" dictCode="PROJECT_UPLOAD_TYPE" value="${attachment.filetype!}" /></span>
                                	<span>${attachment.createtime!}</span>
                                    <div class="list_top kai_sm">
                                        <a href="javascript:;" class="list_top2" id="urshibs" onclick="deleteAttachment(this);">${_res["project.document.delete"]}</a>
                                    </div>
                                </div>
                                <%}}}%>
                                <%#ajax ajaxuploadfile :{
                                	if(!isEmpty(uploadFile!)){
                                %>
                                   <div class="up_i">
                                   		<input type="hidden" name="uploadFile${num!}.filetype" value="${fileTypeId!}">
                                   		<input type="hidden" name="uploadFile${num!}.doctype" value="${uploadFile.originalFileName!}">
                                   		<input type="hidden" name="uploadFile${num!}.filename" value="${uploadFile.originalFileName!}">
                                   		<input type="hidden" name="uploadFile${num!}.filepath" value="${uploadFile.path!}">
                                		<span style="white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"><#icon filename="${uploadFile.originalFileName!}" />&nbsp;&nbsp;${uploadFile.originalFileName!}</span>
                                		<span style="width:17em;">${fileType!}</span>
                                		<span>${greidate!}</span>
	                                    <div class="list_top kai_sm">
	                                        <a href="javascript:;" class="list_top2" id="urshibs" onclick="deleteAttachment(this);">${_res["project.document.delete"]}</a>
	                                    </div>
                                   </div>
                                <%}}%>
                            </div>	
                            <a href="javascript:;"><input type="button" value="${_res['project.sale.previous']}" style="margin-right: 20px;" class="floatE kai_sb kai_step3_prev"/></a>
                            <a href="javascript:;"><input type="submit" value="${_res['system.submit']}"/></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--右边内容块-->
<script type="text/javascript">
//上传楼盘附件
$("input[id^='fileuploadproimgfile']").on("change", function() {
	var fileElementId = $(this).attr("id");
	var fileTypeId = $("#fileType").val();
	var fileType =$("#fileType").find("option:selected").text()
	//获取div个数
	var num = $("#uploadproimgfiles").children("div").length;
	var data = new Object();
	data.fileType = fileType;
	data.fileTypeId = fileTypeId;
	data.toUrl = "/realty/project/kaifa_other.html#ajaxuploadfile";
	data.num = num;
	data.greidate = "true";
	ajaxMultiFileUpload("uploadproimgfiles" , fileElementId , data);
});

//删除一行文件信息 
function deleteAttachment(document){
	$(document).parent().parent().remove();
};

</script>
<!-- ======================================== content ======================================== -->
